import styles from './index.module.less'
import IconSvg from '@/components/IconSvg'

interface CardVarable {
  text: string
  [x: string]: any
}

export default (props: CardVarable) => {
  const { text } = props
  return (
    <div className={styles.title} {...props}>
      <div className={styles.round}>
        <IconSvg name='purple' />
      </div>
      <div>{text}</div>
    </div>
  )
}
